import request from '@/utils/request'



export function basicInformationList(data) { //软管基础信息-列表
  return request({
    url: '/hose-management/api/hose/base/page',
    method: 'post',
    data
  })
}


export function basicInformationAdd(data) { //软管基础信息-新增
  return request({
    url: '/hose-management/api/hose/base/save',
    method: 'post',
    data
  })
}

//原 put
export function basicInformationEdit(data) { //软管基础信息-编辑
  return request({
    url: '/hose-management/api/hose/base/put/update',
    method: 'post',
    data
  })
}

//原 del
export function basicInformationDelete(id) { //软管基础信息-删除
  return request({
    url: '/hose-management/api/hose/base/delete/del/' + id,
    method: 'get',
  })
}


export function basicInformationDetail(id) { //软管基础信息-详情
  return request({
    url: '/hose-management/api/hose/base/' + id,
    method: 'get',
  })
}
export function basicInformationFpso(data) { //软管基础信息-fpso
  return request({
    url: '/sys-center/api/system/dept/second/hose',
    method: 'post',
    data
  })
}
export function basicInformationExport(data) { //软管基础信息-导出
  return request({
    url: '/hose-management/api/hose/base/export',
    responseType: 'arraybuffer',
    method: 'POST',
    data,
  })
}
